package com.beecloud.microservice.user.commom;

public enum HttpError {
    PASSOWRD_ERROR(600, "用户名或密码错误."),
    PARAMTER_ERROR(601, "必要参数缺少或不合法.");

    private int errorCode;
    private String errorMsg;

    HttpError(int errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }
}
